<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<button onclick="stop()">停止</button>
	<script src="util.down-time.js"></script>
	<script>
			var obj ={adStartDate:"2019-10-09 11:01:24",adEndDate:"2019-10-11 20:31:28",isStart:1};
		
			var arr =[{adStartDate:"2019-10-09 11:01:24",adEndDate:"2019-10-11 20:31:28",isStart:1},
		{adStartDate:"2019-10-10 11:01:24",adEndDate:"2019-10-12 00:00:00",isStart:0}];
		
		var dt = new _DownTime({
			downList:arr,
			// dataType:"Object",
			// setHight:function(){
			// 	return 3000;
			// },
			success:function(data,calHg){
				console.log(calHg);
			}			
		});
		console.log(dt);
		function stop(){
			clearInterval(dt.timeId);
		}
		
	</script>
	<body>
	</body>
</html>
